package com.jiyun.racelist.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.model.Shijuan;
import com.jiyun.model.Team;
import com.jiyun.racelist.mapper.ShijuanMapper;
import com.jiyun.racelist.mapper.TeamMapper;
import com.jiyun.racelist.mapper.XuanZeMapper;
import com.jiyun.racelist.service.ShijuanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShijuanServiceImpl extends ServiceImpl<ShijuanMapper, Shijuan> implements ShijuanService {

    @Autowired
    XuanZeMapper  xuanZeMapper;

    @Autowired
    ShijuanMapper shijuanMapper;

    @Autowired
    TeamMapper teamMapper;

    @Override
    public Integer findYiZuo() {
        return xuanZeMapper.findYiZuo();
    }

    @Override
    public String findValue(Integer id) {
        return shijuanMapper.findValue(id);
    }

    @Override
    public List<Team> LookPaiming() {
        return teamMapper.LookPaiming();
    }

    @Override
    public List<Shijuan> findDati() {
        return shijuanMapper.findDati();
    }

    @Override
    public Integer findTrue() {
        return shijuanMapper.findTrue();
    }

    @Override
    public Integer findFalse() {
        return shijuanMapper.findFalse();
    }


}
